package com.demo.domain.service;

import com.alibaba.fastjson.JSON;
import com.demo.domain.model.ComputerFunctionRequest;
import com.demo.domain.model.ComputerFunctionResponse;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class ComputerServiceTest {
    @Resource
    private ComputerService computerService;

    @Test
    public void setComputerService() {
        ComputerFunctionRequest request = new ComputerFunctionRequest();
        request.setComputer("computer");
        ComputerFunctionResponse response = computerService.queryConfig(request);
        System.out.println(JSON.toJSONString(response));
    }
}
